package com.lagou.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EntityScan("com.lagou.edu.pojo")
@EnableEurekaClient//开启Eureka Client (Eureka 独有)
/*@EnableDiscoveryClient*/ //开启注册中心 客户端 通用型注解 比如注册到Eureka Nacos等 说明从SpringCloud 的 Edgware 版本 开始  不加注解 也ok 建议加上
public class LagouResumeApplication8080 {
    public static void main(String[] args) {

        SpringApplication.run(LagouResumeApplication8080.class, args);
    }

}